@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>RMB市场专用收入/支出明细管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
						    <div class="col-sm-3" style="width: 200px">
                                <#SelectCon id="platform" name="平台名称" >
                                    ${deptutil.getPlatformById()}
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#TimeCon id="beginDate" name="开始日期" isTime="false" pattern="YYYY-MM-DD" value="${tool.currentDate(0)}"/>
                            </div>
                            <div class="col-sm-3">
                                <#TimeCon id="endDate" name="结束日期" isTime="false" pattern="YYYY-MM-DD" value="${tool.currentDate(0)}"/>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Market.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="MarketTableToolbar" role="group">
                            @if(shiro.hasPermission("/market/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Market.openAddMarket()"/>
                            @}
                            @if(shiro.hasPermission("/market/update")){
                                <#button name="修改" icon="fa-edit" clickFun="Market.openMarketDetail()" space="true"/>
                            @}
							@if(shiro.hasPermission("/market/addBalance")){
                                <#button name="期初余额设置" icon="fa-edit" clickFun="Market.openAddBalance()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/market/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Market.delete()" space="true"/>
                            @}
                                <#button name="导出" icon="fa-load" clickFun="Market.operExport()" space="true"/>
                        </div>
                        <#table id="MarketTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/market/market/market.js"></script>
@}
